/**
 * 
 */
package org.crud4j.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * This annotation indicates the maximum length in characters of the edit box
 * for the given field
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface CrudLength {

	/**
	 * Lenght in characters
	 * 
	 * @return
	 */
	int value() default 30;

}
